<%--
  Created by IntelliJ IDEA.
  User: zhang
  Date: 2021/3/31
  Time: 17:17
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加商品</title>
    <style>
        .aa{
            width:1000px;
            height:60px;
            align-content: center;
        }
        .bb{
            width:25%;
            height:50px;
        }
        #b{
            height: 250px;
        }

    </style>
</head>
<body>

<div>
    <table border="1px" width="100%">
        <tr class="aa">

                <td class="bb">名称</td>
                <td class="bb">价格</td>
                <td class="bb">生产地</td>
                <td class="bb">生产日期</td>
        </tr>
        <form action="${pageContext.request.contextPath}/addfood" method="post">
            <tr class="aa" height="200px">
                <td class="bb" align="center"><input class="cc" type="text" name="foodname"/></td>
                <td class="bb" align="center"><input class="cc" type="text" name="price"/></td>
                <td class="bb" align="center"><input class="cc" type="text" name="address"/></td>
                <td class="bb" align="center"><input class="cc" type="text" name="data"></td>
                <td class="bb" align="center"><input class="cc" type="submit" value="提交"/></td>
            </tr>
        </form>

    </table>
</div>
<div id="b">
</div>
</body>
</html>
